.btn.btn-quarternary{
            color: #fff;
                border-color: transparent !important;
                background: linear-gradient(45deg, #4925ecff 0%, #4d178bff 100%);
    box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
        border-radius: 5px;
        font-weight:600;
        
}
.btn.btn-quarternary:hover{

background: linear-gradient(45deg, #4d178bff 0%, #4925ecff 100%) !important;
 transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15) !important;
}

 .btn.btn-quarternary1{
            color: #fff;
                border-color: transparent !important;
                background: linear-gradient(45deg, #ef3030ff 0%, #d6526aff 100%);
    box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
        border-radius: 5px;
        font-weight:600;
}

.btn.btn-quarternary1:hover{

background: linear-gradient(45deg, #d6526aff 0%, #ef3030ff 100%) !important;
 transform: translateY(-1px)  !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15)  !important;
}

.btn.btn-quarternaryhome{
    color: #fff;
    border-color: transparent !important;
    background: black;
    box-shadow: 0px 10px 20px -6px rgba(0, 0, 0, 0.12);
    border-radius: 5px;
    font-weight: 600;
    font-size: 12px;
}

.btn.btn-quarternaryhome:hover{

background: linear-gradient(45deg, rgb(9, 1, 18) 0%, rgb(17, 16, 21) 100%);
 transform: translateY(-1px)  !important;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15)  !important;
}

tr.head {
    background-color: #c9cbcf !important;
}


.card-body.branch {
    border: 1px solid black !important;
}
tbody#branchid {
    color: black;
    font-weight: 600;
}
 
.card-body.year {
    border: 1px solid black;
}
 
tbody#yearid {
    color: black;
    font-weight: 600;
}
 



 table {
    width: 100%;
    border-collapse: collapse;
   /* font-family: 'Poppins', sans-serif; */
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden; 
    background-color: white;
    background: lightcyan;
}

#leavetable th {
    background-color: #0d40a9;
    color: white !important;
    font-weight: bold;
    padding: 10px;
    letter-spacing: 0.5px;
    border: 1px solid black; 
}

th, td {
    border: 1px solid black; 
    padding: 4px;
    text-align: left;
    font-size: 13px;
    color:black;
    /* background-color: white;  */
}

/* table .tr.odd{
    background: lightcyan;
} */


tbody td:first-child {
    font-weight: bold;
}

.table-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid #ddd;
  border-top: 3px solid #1273eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}




.table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
    padding: 5px !important;
}


#yearwiseCard {
    background: linear-gradient(135deg, #1273eb, #0056b3); /* 🔹 blue gradient */
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    width: fit-content;  /* content ke hisaab se width */
    margin-bottom: 10px;
}

#yearwiseCard:hover {
    background: linear-gradient(135deg, #0056b3, #1273eb); /* 🔄 reverse gradient */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.custom-header {
    background-color: #1273eb !important;
    color: #fff !important;
}
#yearwiseCard {
    background: linear-gradient(135deg, #1273eb, #0056b3); /* 🔹 blue gradient */
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    width: fit-content;  /* content ke hisaab se width */
    margin-bottom: 10px;
}
 
#yearwiseCard:hover {
    background: linear-gradient(135deg, #0056b3, #1273eb); /* 🔄 reverse gradient */
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}
 
.custom-header {
    background-color: #1273eb !important;
    color: #fff !important;
}
 
 
 /* Add these additional CSS styles to your existing styles */
 
/* .chart-container {
    margin: 20px 0;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e2e8f0;
}
  */
.chart-title {
    font-size: 16px;
    font-weight: bold;
    color: #1273eb;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 2px solid #f0f0f0;
}
 
#branchPieChart {
    max-height: 400px;
    width: 100% !important;
    cursor: pointer;
}
 
.chart-wrapper {
    position: relative;
}
 
#branchSummaryTable {
    margin-top: 20px;
}
 
#branchSummaryTable .table {
    margin-bottom: 0;
}
 
.btn-sm {
    padding: 4px 8px;
    font-size: 12px;
}
 
/* Pie details table styles */
#pieDetailsTable {
    animation: slideDown 0.3s ease-in-out;
    margin-top: 20px;
}
 
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
 
#pieDetailsTable table {
    margin-bottom: 0;
}
 
#pieDetailsTable .table thead th {
    background-color: #1273eb !important;
    color: white !important;
}
 
.badge {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 12px;
}
 
.badge-primary {
    background-color: #007bff;
    color: white;
}
 
#branchSummaryTable .table tbody tr:hover {
    background-color: #f8f9fa;
    cursor: pointer;
}
 
#pieDetailsTable .table tbody tr:hover {
    background-color: #e3f2fd;
}
 
/* Button hover effects */
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
 
/* Chart container responsive */
@media (max-width: 768px) {
    .chart-container {
        padding: 10px;
        margin: 10px 0;
    }
   
    #branchPieChart {
        max-height: 300px;
    }
}
 
button.btn.btn-sm.btn-primary.me-2 {
    background: linear-gradient(90deg, #1273eb, #ff4081); /* Blue → Pink */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent; /* fallback */

    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 6px 12px;
    border-radius: 8px;
    background-color: white; /* button bg white hi rahega */
    border: 2px solid black;
    cursor: pointer;
}


#btnShow {
    /* background: linear-gradient(to right, #62028fff, #0c19d6ff) !important; */
     background-color: #1273eb;
    color: white !important;
    font-size: 13px !important;
    padding: 8px 14px !important;
    border: none !important;
    border-radius: 5px !important;
    /* box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.5) !important; */
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    transition: background 0.3s, transform 0.1s;
    border: 2px solid grey !important;
 
}
 


 
 
#btnShow i {
    background-color: white !important;
    color: #4facfe !important;
    border-radius: 50% !important;
    padding: 6px !important;
    font-size: 12px !important;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.5) !important;
    margin-right: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    height: 24px !important;
        margin-left: -6px;
 
}
 
#btnShow:hover {
    /* background: linear-gradient(to right, #00f2fe, #4facfe) !important; */
     background: linear-gradient(to right, #deba03fd, #fff75cff) !important;
     color:black !important;
    transform: translateY(-1px);
}


 .custom-gradient-btn {
  font-size: 14px; 
    /* font-family: 'Poppins', sans-serif; */
    padding: 6px 14px; 
    border: none;
    border-radius: 6px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px; 
    transition: all 0.2s ease-in-out;
}
.custom-gradient-btn:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}
 

.modal .modal-header {
    background: #0d40a9;
    color: #ffffff;
    border: 0;
    border-radius: 3px 3px 0 0;
}

.fade {
    opacity: 2 !important;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear
}
 
.modal-backdrop.fade {
    opacity: 0.5 !important;
}
 
.custom-close {
    background-color: #df0505 !important;
    border-radius: 50% !important;
    width: 20px;
    height: 20px;
    padding: 0;
}
 
.custom-close::before, .custom-close::after {
    background-color: white !important; /* Color of the X icon */
}
 

#leavetable td[contenteditable="true"] {
    transition: background-color 0.3s ease;
}


/* new changes  */
#activityTable th {
    background-color: #0d40a9;
    color: white !important;
    font-weight: bold;
    padding: 10px;
    letter-spacing: 0.5px;
    border: 1px solid black;
}

#studentParentTable th {
    background-color: #0d40a9;
    color: white !important;
    font-weight: bold;
    padding: 10px;
    letter-spacing: 0.5px;
    border: 1px solid black;
}

#ParentMeetTable th {
    background-color: #0d40a9;
    color: white !important;
    font-weight: bold;
    padding: 10px;
    letter-spacing: 0.5px;
    border: 1px solid black;
}
    /* Table wrapper */
.table-responsive {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
}
 .modal .modal-header {
    background: #0d40a9;
    color: #ffffff;
    border: 0;
    border-radius: 3px 3px 0 0;
}

.fade {
    opacity: 2 !important;
    -webkit-transition: opacity .15s linear;
    -o-transition: opacity .15s linear;
    transition: opacity .15s linear
}

.modal-backdrop.fade {
	opacity: 0.5 !important;
}

.custom-close {
    background-color: #df0505 !important;
    border-radius: 50% !important;
    width: 20px;
    height: 20px;
    padding: 0;
}
 

.custom-close::before, .custom-close::after {
    background-color: white !important; /* Color of the X icon */
}

.custom-gradient-btn {
  font-size: 14px;
    font-family: 'Poppins', sans-serif;
    padding: 6px 14px;
    border: none;
    border-radius: 6px;
    background-color: #28a745;
    color: white;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease-in-out;
}
.custom-gradient-btn:hover {
    background-color: #218838;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

#studentListTable th {
       background-color: #c9cbcf;

}

#activitiesTable th {
       background-color: #c9cbcf;

}

